package cn.itsource.controller.app;

import cn.itsource.result.R;

import cn.itsource.service.IPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 📖：beishan
 * 🗓️：2024/4/21 17:02
 * =====================
 */
@RestController
@RequestMapping("/app/pay")
public class GeTuiController {
    @Autowired
    private IPayService payService;


    @PostMapping("/getui/{cid}")
    public R geTuiAlias(@PathVariable String cid){
        payService.geTuiAlias(cid);
        return R.success();
    }
}
